import {createRouter,createWebHashHistory} from 'vue-router'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
      {
        path:'/',
        redirect:'/login'
      },
      {
        //用户登录
        path:'/login',
        component:()=>import('../views/UserLogin.vue')
      }
    ]
})

//导出路由
export default router